#include "grflib_stdafx.h"
#include "DXUTgui.h"
#include "SDKmisc.h"
#include "../include/FPSLabel.h"

namespace grflib { namespace engine { namespace aux {

CFPSLabel::CFPSLabel()
{
}

CFPSLabel::~CFPSLabel()
{
}

void CFPSLabel::FrameMove(double fTime, float fElapsedTime)
{
    TCHAR str[20];
    _stprintf_s(str, _T("%.1f fps"), DXUTGetFPS());
    m_str = str;
}

}}} // namespaces